﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta http-equiv="Content-type" content="text/html; charset=ISO-8859-2" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Beskidzkie Centrum Muzyczne</title>
    <link href="~/Scripts/Chosen/chosen.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-2.1.4.min.js" type="text/javascript"></script>
    <script src="~/Scripts/modernizr-2.6.2.js" type="text/javascript"></script>
    <script src="~/Scripts/bootstrap.js" type="text/javascript"></script>
    <link href="~/Content/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/jquery.datetimepicker.css" rel="stylesheet" type="text/css" />
    <script src="~/Scripts/jquery.datetimepicker.js" type="text/javascript"></script>
    <script src="~/Scripts/jquery-ui-1.11.4.js" type="text/javascript"></script>
    <script src="~/Scripts/jquery-ui.custom.min.js"></script>
    <script src="~/Scripts/fullcalendar.js" type="text/javascript"></script>
    <link href="~/Content/fullcalendar.css" rel="stylesheet" type="text/css" />
    <script src="~/Scripts/kalendarzLib.js" type="text/javascript"></script>
    <script src="~/Scripts/Chosen/chosen.jquery.js"></script>
    <script type="text/javascript">
        var site = site || {};
        site.baseUrl = site.baseUrl || "";
        $(document).ready(function (e) {
            $(".partialContents").each(function (index, item) {
                var url = site.baseUrl + $(item).data("url");
                if (url && url.length > 0) {
                    $(item).load(url);
                }
            });
        });
    </script>
</head>
<body>
    <div class="container">
        <div class="masthead">
            <h3 class="text-muted">@Html.ActionLink("Beskidzkie Centrum Muzyczne", "Index", "Home")</h3>

            @if (Request.IsAuthenticated)
            {
                <div class="btn-group" role="group" aria-label="...">
                    @*<button type="button" class="btn btn-default">@Html.ActionLink("Role", "Index", "AspNetRoles")</button>*@
                    <div class="btn-group" role="group">
                        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            Lekcje:
                            <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu">
                            <li>@Html.ActionLink("Widok dzienny", "WidokDzienny", "Lekcjes")</li>
                            <li>@Html.ActionLink("Harmonogramy", "Index", "Schedules")</li>
                            <li>@Html.ActionLink("Dane Firmy", "Index", "DaneFirmy")</li>
                            @*<li>@Html.ActionLink("Lista lekcji", "Index", "Lekcjes")</li>
                                <li>@Html.ActionLink("Edycja lekcji", "EdycjaLekcji", "Lekcjes")</li>*@
                        </ul>
                    </div>
                    @*<button type="button" class="btn btn-default">@Html.ActionLink("Instrument <=> Naucyzciel", "Index", "InstrumentNauczyciels")</button>*@
                    <button type="button" class="btn btn-default">@Html.ActionLink("Sale", "Index", "Sales")</button>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Uczniowie", "Index", "Uczniowies")</button>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Nauczyciele", "Index", "Nauczycieles")</button>
                    @*<button type="button" class="btn btn-default">@Html.ActionLink("Instrumenty", "Index", "Instrumenties")</button>*@
                    <div class="btn-group" role="group">
                        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            Finanse
                            <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu">
                            <li>@Html.ActionLink("Wpłaty", "WidokWplat", "Wplata")</li>
                            <li>@Html.ActionLink("Wypłaty", "WidokWyplat", "Wyplata")</li>
                        </ul>
                    </div>
                    <div class="btn-group" role="group">
                        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            Raporty
                            <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu">
                            <li>@Html.ActionLink("Odbyte lekcje", "ListaOdbytychLekcji", "Lekcjes")</li>
                            <li>@Html.ActionLink("Dłużnicy", "ListaDluznikow", "Raport")</li>
                            <li>@Html.ActionLink("Wpłaty dla Nauczycieli", "ListaWyplatNauczyciele", "Raport")</li>
                        </ul>
                    </div>
                </div>
            }
            else
            {
                <div class="btn-group" role="group" aria-label="...">
                    <button type="button" class="btn btn-default">@Html.ActionLink("O aplikacji", "About", "Home")</button>
                </div>
            }

            @Html.Partial("_LoginPartial")
        </div>
        <div class="container body-content">
            @RenderBody()
            <hr />
            <footer>
                <p>&copy; @DateTime.Now.Year - Beskidzkie Centrum Muzyczne</p>
            </footer>
        </div>

        @RenderSection("scripts", required: false)
    </div>
</body>
</html>
